package Test1230am;

public class Test04 {
    public static void main(String[] args) {

        // (4)求1+2+3+4...+10和
        int b = 0;
        for (int i = 0; i < 10; i++) {
            b = b + i;

        }
        System.out.println(b);
    }
}